package com.itheima.vo.organization;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <h1>组织详情vo</h1>
 *
 * @author <a href="11n_yd2h5e1jx8@dingtalk.com">叶世铭</a>
 * @since 2023/2/13
 */
@Data
public class OrganizationDetailVo implements Serializable {
    private static final long serialVersionUID = 254771666338807172L;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id")
    private Integer organizationId;

    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称")
    private String organizationName;

    /**
     * 用户集合
     */
    @ApiModelProperty(value = "用户集合")
    private List<OrganizationUser> userList;

    /**
     * 组织详情下的用户信息
     */
    @Data
    public static class OrganizationUser implements Serializable {
        private static final long serialVersionUID = -6230846211603192441L;

        /**
         * 用户id
         */
        @ApiModelProperty(value = "用户id")
        private String userId;

        /**
         * 用户名称
         */
        @ApiModelProperty(value = "用户名称")
        private String userName;

        /**
         * 用户头像地址
         */
        @ApiModelProperty(value = "用户头像地址")
        private String imageUrl;
    }
}
